# 架构和交叉编译器
export ARCH = arm64
export CROSS_COMPILE = aarch64-none-linux-gnu-
# 编译目标、路径
obj-m += parameter.o
KDIR := /jnheCode/tspkfb/kernel
PWD ?= $(shell pwd)
# 操作：make和make clean
all:
	make -C $(KDIR) M=$(PWD) modules 
clean:
	make -C $(KDIR) M=$(PWD) clean